<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
    <body>
            <h1>获取token</h1>
            <form action="/api/token" method="post">
              code <input type="text" name="code"><br/>
                   <input type="hidden" name="_method" value="put"/>
                   <input type="submit" value="提交">
            </form>
    </body>
</html>